# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=gaupol
pkgver=1.12
pkgrel=0
pkgdesc="Editor for text-based subtitles"
url="https://otsaloma.io/gaupol/"
arch="noarch"
license="GPL-3.0-or-later"
depends="
	desktop-file-utils
	gspell
	gst-libav
	gst-plugins-bad
	gst-plugins-good
	gst-plugins-ugly
	gstreamer
	gtk+3.0
	hicolor-icon-theme
	iso-codes
	py3-cairo
	py3-chardet
	py3-gobject3
	python3
	"
makedepends="gettext-dev"
subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/otsaloma/gaupol/archive/$pkgver.tar.gz"
options="!check" # no tests

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
7e8002ceeff0a6c1144a6c23743aff006101a63aee394c4a4eb2742ad37635fe45425964d60ab2d6f10f9e212c72db673f5f1d849f738efcd7d9389054a1de36  gaupol-1.12.tar.gz
"
